package com.example.shiwu.db.vo;

import com.example.shiwu.db.annotation.DbFiled;

public class AlarmVo {

    @DbFiled("id")
    public String id;
    @DbFiled("item_id")
    public Integer itemId;
    @DbFiled("sn")
    public String sn;
    @DbFiled("status")
    public Integer status;
    @DbFiled("name")
    public String name;
    @DbFiled("send_id")
    public String sendId;
    @DbFiled("alarm_msg")
    public String alarmMsg;//告警内容

    @DbFiled("create_time")
    public String createTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getItemId() {
        return itemId;
    }

    public void setItemId(Integer itemId) {
        this.itemId = itemId;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSendId() {
        return sendId;
    }

    public void setSendId(String sendId) {
        this.sendId = sendId;
    }

    public String getAlarmMsg() {
        return alarmMsg;
    }

    public void setAlarmMsg(String alarmMsg) {
        this.alarmMsg = alarmMsg;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public AlarmVo() {
    }

    public AlarmVo(String id, Integer itemId, String sn,Integer status, String name, String alarmMsg, String createTime) {
        this.id = id;
        this.itemId = itemId;
        this.sn = sn;
        this.status = status;
        this.name = name;
        this.alarmMsg = alarmMsg;
        this.createTime = createTime;
    }
}
